package com.wicket.okrbff.biz.service.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc BffAchievementTeamDto
 * @使用场景
 */
@Data
public class BffAchievementTeamDto implements Serializable {

  /**
   * 成果团队成员ID
   */
  @NotNull(message = "成果团队成员ID不能为空")
  @ApiModelProperty("成果团队成员ID")
  private String achievementTeamMemberId;

  /**
   * 排序
   */
  @NotNull(message = "排序不能为空")
  @ApiModelProperty("排序")
  private Long orderNumber;
/**
     * 成果团队成员编号
     */
    @ApiModelProperty("成果团队成员编号")
    private String	 achievementMemberNumber;

    /**
     * 成果团队成员名称
     */
    @ApiModelProperty("成果团队成员名称")
    private String	 achievementMemberName;

    /**
     * 个人账号ID
     */
    @ApiModelProperty("个人账号ID")
    private String	 userId;

    /**
     * 身份人员ID
     */
    @ApiModelProperty("身份人员ID")
    private String	 originalRoleMemberId;

    /**
     * 就职记录ID
     */
    @ApiModelProperty("就职记录ID")
    private String	 inductionRecordId;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffAchievementTeamDto that = (BffAchievementTeamDto) o;
      return  achievementTeamMemberId == that.achievementTeamMemberId&&orderNumber == that.orderNumber&&achievementMemberNumber == that.achievementMemberNumber&&achievementMemberName == that.achievementMemberName&&userId == that.userId&&originalRoleMemberId == that.originalRoleMemberId&&inductionRecordId == that.inductionRecordId;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), achievementTeamMemberId,orderNumber,achievementMemberNumber,achievementMemberName,userId,originalRoleMemberId,inductionRecordId);
    }

}
